package syb.photosynthesis.plugin.model;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.*;
import lombok.Data;

@Data
public class PhotosynthesisStoreEntry extends StoreEntity {
    @PropertyValue(alias = "光合量子数",description = "光合量子数",unit = "μmol/㎡s",icon= IconConstract.Other,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check, commandCode="query", eventType= EventType.Click)
    })
    private String photosyntheticQuantumNumber;

    @Override
    public String toString(){
        StringBuilder builder = new StringBuilder ();
        builder.append ("photosyntheticQuantumNumber:");builder.append (photosyntheticQuantumNumber);builder.append (";");
        return builder.toString ();
    }
}
